_ADD A SENSOR TO A MICROCONTROLLER BOARD THAT YOU HAVE DESIGNED
For this assigment and for my final project I choose the HELLO LIGHT , the proporse of pick this kind of sensor is because I´m interest in the automatizacion of living spaces and the light is a very importat part of the energy consumption.
- FABRICATION OF THE INPUT
STEP1- As inthe first assigment I download the input board for light with phototransistor. Now with the board , components and traces I start to make the fabrication of it.
STEP2- The drawing as the other assigmnets I prepare it in rhino and illustrator for exporting to modela
STEP3- In modela I introduces the parameters for the milling and the engraving
STEP4- and the final step of the fabrication is the solding of the components
this was my bad photosensor pcb that didn´t work
- PROGRAMMING
STEP1-Now that I have the board finish, I start the programing connecting the the board with a FDTI cable and the AVRISP mkII ( checking that nothing burn)
STEP2- After connecting the board to the computer I save the make file and the c file from the class page ( hello.light.45.c and hello.light.45.make ) in a folder and ready to run Terminal
STEP3- I start to run the files and the “make program” and the board have an error, I decide to make another board and after running again there where an error but the program were charge.
STEP4- Working in make it work, I go to the AVRISP mkII studio by atmel and check what going on in the pcb, and I see that there a problem in the MOSI connection